
package com.bstek.urule.runtime.event.impl;

import com.bstek.urule.runtime.KnowledgeSession;
import com.bstek.urule.runtime.agenda.Activation;
import com.bstek.urule.runtime.event.ActivationEvent;

/**
 * @author Jacky.gao
 * @since 2015年7月20日
 */
public class DefaultActivationEvent implements ActivationEvent {
    private Activation activation;
    private KnowledgeSession knowledgeSession;

    public DefaultActivationEvent(Activation activation, KnowledgeSession knowledgeSession) {
        this.activation = activation;
        this.knowledgeSession = knowledgeSession;
    }

    @Override
    public Activation getActivation() {
        return activation;
    }

    @Override
    public KnowledgeSession getKnowledgeSession() {
        return knowledgeSession;
    }
}
